package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.MiniDailyReplay;
import com.ruoyi.system.domain.MiniStockSubject;
import com.ruoyi.system.service.MiniStockSubjectService;
import com.ruoyi.system.mapper.MiniStockSubjectMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author ld
* @description 针对表【mini_stock_subject(题材与股票的关系表)】的数据库操作Service实现
* @createDate 2023-12-12 21:17:17
*/
@Service
public class MiniStockSubjectServiceImpl extends ServiceImpl<MiniStockSubjectMapper, MiniStockSubject>
    implements MiniStockSubjectService{

    @Override
    public List<MiniDailyReplay> selectStockBySubjectAncestors(Long subjectId) {
        return this.getBaseMapper().selectStockBySubjectAncestors(subjectId);
    }

    @Override
    public List<String> selectStockNotGetMoneyInflow(String yesterday) {
        return this.getBaseMapper().selectStockNotGetMoneyInflow(yesterday);
    }
}




